.gap10 {
    display: flex;
    gap: 10px;
}

.teacher {
    font-size: 20px;
    margin-bottom: 20px;
}

.search {
    display: flex;
    justify-content: space-between;
}

.searchList {
    display: flex;
    gap: 16px;
}

.button {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* 表格样式 */
.ant-table-thead>tr>th {
    background-color: #fafafa;
    font-weight: 600;
}

.ant-table-tbody>tr:hover>td {
    background-color: #f5f5f5;
}

/* 操作按钮样式 */
.ant-btn-link {
    padding: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .search {
        flex-direction: column;
    }

    .searchList {
        flex-wrap: wrap;
    }

    .button {
        flex-direction: row;
        margin-left: 0;
        margin-top: 16px;
    }

    .search>div:first-child {
        margin-right: 0;
    }

    .search>div:nth-child(2) {
        display: none;
        /* 在小屏幕上隐藏分割线 */
    }
}

/* 选项卡样式 */
.ant-tabs-top>.ant-tabs-nav {
    margin-bottom: 16px;
}

.ant-tabs-tab {
    font-weight: 500;
}


.ant-input,
.ant-select-selector,
.ant-picker {
    border-radius: 4px;
}

/* 按钮样式 */
.ant-btn {
    border-radius: 4px;
}

.ant-btn-primary {
    background-color: #165DFF;
    border-color: #165DFF;
}

.ant-btn-primary:hover {
    background-color: #0e42c2;
    border-color: #0e42c2;
}

.buttonBox {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.refresh {
    display: flex;
    gap: 10px;
}

.w20 {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.red {
    color: red;
}

.margin14 {
    margin-left: 14px;
}

.margin28 {
    margin-left: 28px;
}

/* 分页样式 */
:where(.css-dev-only-do-not-override-1bstkdm).ant-table-wrapper .ant-table-pagination.ant-pagination {
    margin: var(--ant-margin) 0;
    display: flex;
    justify-content: center;
}

:where(.css-dev-only-do-not-override-1bstkdm).ant-pagination .ant-pagination-prev .ant-pagination-item-link,
:where(.css-dev-only-do-not-override-1bstkdm).ant-pagination .ant-pagination-next .ant-pagination-item-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: var(--ant-font-size-sm);
    text-align: center;
    background-color: transparent;
    border: 1px solid #cccccc;
    border-radius: var(--ant-border-radius);
    outline: none;
    transition: all var(--ant-motion-duration-mid);
}

:where(.css-dev-only-do-not-override-1bstkdm).ant-pagination .ant-pagination-item {
    display: inline-block;
    min-width: var(--ant-pagination-item-size);
    height: var(--ant-pagination-item-size);
    margin-inline-end: var(--ant-margin-xs);
    font-family: var(--ant-font-family);
    line-height: calc(var(--ant-pagination-item-size) - 2px);
    text-align: center;
    vertical-align: middle;
    list-style: none;
    background-color: var(--ant-pagination-item-bg);
    border: 1px solid #cccccc;
    border-radius: var(--ant-border-radius);
    outline: 0;
    cursor: pointer;
    user-select: none;
}

:where(.css-dev-only-do-not-override-1bstkdm).ant-pagination .ant-pagination-item-active {
    font-weight: var(--ant-font-weight-strong);
    background-color: var(--ant-pagination-item-active-bg);
    border-color: var(--ant-color-primary);
}

.edit-mode-password {
    margin-left: 39px;
}

.edit-mode-password .ant-form-item-control {
    /* 调整控件区域的对齐方式 */
    margin-left: 0;
}

.ant-modal-wrap {
    display: flex;
    align-items: center;
}

.ant-modal {
    top: 0;
    padding-bottom: 0;
}
